package com.jindan.jdy.service.sys;

import com.jindan.jdy.common.mapper.TestMapper;
import org.apache.dubbo.config.annotation.Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * description:
 * date: 2020/4/3 19:52
 * author: xbdyilin
 */
@Service(version = "${service.version}")
@Component
public class SysServiceImpl implements SysService {

    @Autowired
    private TestMapper testMapper;
    @Override
    public String test() {
        return String.valueOf(testMapper.selectById(1).getId());
    }
}

